Skip to content

[windows|toolchain] Try using /Zi#25692

Closed
Neumann-A wants to merge 37 commits intomicrosoft:masterfrom
Neumann-A:try_to_use_Zi
Closed

[windows|toolchain] Try using /Zi#25692
Neumann-A wants to merge 37 commits intomicrosoft:masterfrom
Neumann-A:try_to_use_Zi

Conversation

@Neumann-A
Copy link
Contributor

@Neumann-A Neumann-A commented Jul 11, 2022

Just testing.

Good example why VCPKG_POST_PORTFILE_INCLUDES would be required

Current status:

  • Make based ports are a bit screwed and have to restart without parallelism since there is no link job limit
  • maybe make based ports can be saved by /Fd and some automatic make variable.

github-actions[bot]
github-actions bot previously approved these changes Jul 11, 2022
github-actions[bot]
github-actions bot previously approved these changes Jul 11, 2022
github-actions[bot]
github-actions bot previously approved these changes Jul 11, 2022
@JackBoosY JackBoosY self-assigned this Jul 11, 2022
@JackBoosY JackBoosY added the category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed label Jul 11, 2022
@JackBoosY JackBoosY added invalid and removed category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed labels Jul 11, 2022
@JackBoosY
Copy link
Contributor

@Osyotr
Copy link
Contributor

Osyotr commented Jul 11, 2022

Here's some information from @BillyONeal regarding /Zi. #20263 (comment)

@Neumann-A
Copy link
Contributor Author

Neumann-A commented Jul 11, 2022

Some form of design description of how the PDB name is set in such a way that ports won't stomp on each other; note that this is not the default.

solved by setting the name explicitly to the portname which is unique

Some form of write-up on how downstream build systems (e.g. cmake using scripts/buildsystems/vcpkg.cmake or the msbuild integration or what have you) are supposed to get the right PDBs and make them available for their customers

solved. just have the pdbs where the dlls/libs are and have /PDBALTPATH set

(probably) Some writeup / mechanism to avoid having ports affected by an already running mspdbsrv.

whatever that means? (don't run different vcpkg's in parallel?)

github-actions[bot]
github-actions bot previously approved these changes Jul 11, 2022
github-actions[bot]
github-actions bot previously approved these changes Jul 11, 2022
github-actions[bot]
github-actions bot previously approved these changes Jul 12, 2022
@Neumann-A
Copy link
Contributor Author

Seems there is a problem with the setup of boost-build incorrectly forwarding entries of environment variables since they are expand too early. %_PDB% needs to be forwarded to the tool and not expanded early by b2. @yurybura @ras0219-msft

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for boost-modular-build-helper have changed but the version was not updated
version: 1.79.0#5
old SHA: 93946fc40b519f0f9afe1b0d36985b2def25d4ab
new SHA: e210e66f1e6520fa5263b9f566609e513374dcb3
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for openssl have changed but the version was not updated
version: 3.0.5
old SHA: 6f3d4db3ea7bcbac9c79e8beb24c0a33c4da3e96
new SHA: 460c419faa6eb2ca65322ce2f588c0f373a28eb9
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for boost-modular-build-helper have changed but the version was not updated
version: 1.79.0#5
old SHA: 93946fc40b519f0f9afe1b0d36985b2def25d4ab
new SHA: e210e66f1e6520fa5263b9f566609e513374dcb3
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for protobuf have changed but the version was not updated
version: 3.21.2
old SHA: 8ae2a5d57f7d3bf934e4d773406cd0a323600031
new SHA: c6a7e45402fe22bb71e681f6283b5c3b21886983
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for openssl have changed but the version was not updated
version: 3.0.5
old SHA: 6f3d4db3ea7bcbac9c79e8beb24c0a33c4da3e96
new SHA: 460c419faa6eb2ca65322ce2f588c0f373a28eb9
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for boost-modular-build-helper have changed but the version was not updated
version: 1.79.0#5
old SHA: 93946fc40b519f0f9afe1b0d36985b2def25d4ab
new SHA: e210e66f1e6520fa5263b9f566609e513374dcb3
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for protobuf have changed but the version was not updated
version: 3.21.2
old SHA: 8ae2a5d57f7d3bf934e4d773406cd0a323600031
new SHA: c6a7e45402fe22bb71e681f6283b5c3b21886983
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for openssl have changed but the version was not updated
version: 3.0.5
old SHA: 6f3d4db3ea7bcbac9c79e8beb24c0a33c4da3e96
new SHA: 460c419faa6eb2ca65322ce2f588c0f373a28eb9
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 98f8d00e89fb6a8019c2045cfa1edbe9d92d3405 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 471b840..85851b4 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -1698,7 +1698,7 @@
     },
     "crashpad": {
       "baseline": "2022-04-16",
-      "port-version": 1
+      "port-version": 2
     },
     "crashrpt": {
       "baseline": "1.4.3",
diff --git a/versions/c-/crashpad.json b/versions/c-/crashpad.json
index b24546a..96c762c 100644
--- a/versions/c-/crashpad.json
+++ b/versions/c-/crashpad.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "cf08f35fdc309088752764d4b7ec30b6595e7a1d",
+      "version-date": "2022-04-16",
+      "port-version": 2
+    },
     {
       "git-tree": "aa3803e8f14e1a0467a2aa509403d9fc8c56e159",
       "version-date": "2022-04-16",

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for boost-modular-build-helper have changed but the version was not updated
version: 1.79.0#5
old SHA: 93946fc40b519f0f9afe1b0d36985b2def25d4ab
new SHA: e210e66f1e6520fa5263b9f566609e513374dcb3
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for protobuf have changed but the version was not updated
version: 3.21.2
old SHA: 8ae2a5d57f7d3bf934e4d773406cd0a323600031
new SHA: c6a7e45402fe22bb71e681f6283b5c3b21886983
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for openssl have changed but the version was not updated
version: 3.0.5
old SHA: 6f3d4db3ea7bcbac9c79e8beb24c0a33c4da3e96
new SHA: 460c419faa6eb2ca65322ce2f588c0f373a28eb9
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
After committing all other changes, the version database must be updated
git add -u && git commit
git checkout 98f8d00e89fb6a8019c2045cfa1edbe9d92d3405 -- versions
./vcpkg x-add-version --all
Diff
diff --git a/versions/baseline.json b/versions/baseline.json
index 9ae5bfd..4f4e60d 100644
--- a/versions/baseline.json
+++ b/versions/baseline.json
@@ -1698,7 +1698,7 @@
     },
     "crashpad": {
       "baseline": "2022-04-16",
-      "port-version": 1
+      "port-version": 2
     },
     "crashrpt": {
       "baseline": "1.4.3",
diff --git a/versions/c-/crashpad.json b/versions/c-/crashpad.json
index b24546a..96c762c 100644
--- a/versions/c-/crashpad.json
+++ b/versions/c-/crashpad.json
@@ -1,5 +1,10 @@
 {
   "versions": [
+    {
+      "git-tree": "cf08f35fdc309088752764d4b7ec30b6595e7a1d",
+      "version-date": "2022-04-16",
+      "port-version": 2
+    },
     {
       "git-tree": "aa3803e8f14e1a0467a2aa509403d9fc8c56e159",
       "version-date": "2022-04-16",

@Neumann-A
Copy link
Contributor Author

Hmm:

SUMMARY FOR x64-windows
    SUCCEEDED: 1792
    BUILD_FAILED: 15
    FILE_CONFLICTS: 1
    CASCADED_DUE_TO_MISSING_DEPENDENCIES: 11

To fix (buildtree in pdb path)

  • yasm
  • python2
  • botan
  • chakracore
  • crashpad
  • halide
  • qwt
  • libqpg
  • kf5auth
  • kf5i18n
  • kf5iconthemes
  • kf5windowsystem
  • kf5sonnet
  • kf5textwidgets
  • kf5kio
  • kf5plotting
  • libgit2
  • libproxy
  • libqglviewer
  • luajit
  • mdnsresponder
  • openni2
  • pmdk
  • qca
  • qcustomplot
  • qscintilla
  • unicorn
  • unrar

(most are probably qmake ports. )

93 matches for pdb files not found

  • boost-atomic
  • icu
  • boost-regex
  • ace
  • boost-system
  • boost-chrono
  • boost-container
  • boost-date-time
  • boost-thread
  • boost-serialization
  • pthreads
  • boost-context
  • openblas
  • boost-filesystem
  • boost-random
  • boost-stacktrace
  • boost-math
  • boost-locale
  • gettext
  • mp3lame
  • boost-log
  • boost-program-options
  • boost-timer
  • boost-iostreams
  • boost-test
  • libusb
  • azure-kinect-sensor-sdk
  • vcpkg-tool-lessmsi/python2
  • boost-contract
  • boost-fiber
  • boost-graph
  • python2
  • python3
  • boost-python
  • boost-mpi
  • boost-graph-parallel
  • boost-json
  • boost-nowide
  • boost-type-erasure
  • boost-wave
  • tbb
  • clockutils
  • cocoyaxi
  • octomap
  • directx-dxc
  • directxtk12
  • discord-game-sdk
  • fftw3
  • dstorage
  • dxsdk-d3dx
  • easyhook
  • ecsutil
  • forge
  • g2o
  • geogram
  • gpgmm
  • hunspell
  • libirecovery
  • libosmscout
  • libspatialindex
  • mimalloc
  • miniz
  • mokeys-audio
  • ngspice
  • vcpkg-tool-mozbuild
  • ocilib
  • onnxruntime
  • opencc
  • zydis
  • rendergraph
  • rtabmap
  • webview2
  • scintilla
  • sciter-js
  • sdl1
  • xaudio2redist
  • zero-ice

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for openssl have changed but the version was not updated
version: 3.0.5
old SHA: 6f3d4db3ea7bcbac9c79e8beb24c0a33c4da3e96
new SHA: 460c419faa6eb2ca65322ce2f588c0f373a28eb9
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a new experimental fast check for PR issues. Please let us know if this bot is helpful!

PRs must add only one version and must not modify any published versions

When making any changes to a library, the version or port-version in vcpkg.json or CONTROL must be modified.

error: checked-in files for openssl have changed but the version was not updated
version: 3.0.5
old SHA: 6f3d4db3ea7bcbac9c79e8beb24c0a33c4da3e96
new SHA: 460c419faa6eb2ca65322ce2f588c0f373a28eb9
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***
error: checked-in files for boost-modular-build-helper have changed but the version was not updated
version: 1.79.0#6
old SHA: dfc5c6283db1ff870c64cdbb4d6cd8d4585f9a4e
new SHA: cba482e3c777b1cd621bc61e763a9155ec0c1c8d
Did you remember to update the version or port version?
Use --overwrite-version to bypass this check
***No files were updated***

@JackBoosY JackBoosY added category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed and removed invalid labels Sep 16, 2022
@JackBoosY JackBoosY assigned Cheney-W and unassigned JackBoosY Oct 14, 2022
@Neumann-A Neumann-A closed this May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:vcpkg-feature The issue is a new capability of the tool that doesn’t already exist and we haven’t committed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants